package org.seedltd.upms.mapper.detection;

import org.apache.ibatis.annotations.Select;
import org.seedltd.core.base.IBaseMapper;
import org.seedltd.upms.model.detection.entity.DetectionQrcode;

/**
*  二维码数据数据库访问接口
*/
public interface DetectionQrcodeMapper extends IBaseMapper<DetectionQrcode> {

    @Select("select 1 from detection_qrcode where code_number = #{codeNumber} limit 1")
    Integer checkCodeNumberExists(String codeNumber);

}
